<?php
/**
 * Created by PhpStorm.
 * User: Admin
 * Date: 2019/4/4
 * Time: 10:20
 */

namespace app\api\model;


class Category extends BaseModel
{

    protected $hidden = ['delete_time','update_time','create_time'];
    public function img()
    {
        return $this->belongsTo("Image",'topic_img_id','id');
    }
}